package com.hqyj.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@Data
@PropertySource(value = "classpath:application-sms.properties" ,encoding = "utf-8")
public class SmsConfig {

    @Value("${secretId}")
    private String secretId;

    @Value("${secretKey}")
    private String secretKey;

    @Value("${smsTempId}")
    private String smsTempId;

    @Value("${smsSdk}")
    private String smsSdk;

    @Value("${smsName}")
    private String smsName;
}
